using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WhsFacebook.Whs
{
    /// <summary>
    /// this class contains all the version numbers and release identifiers.
    /// 
    /// keep this file in sync with:
    /// - WhsFacebook.Whs/Properties/VersionInfo.cs
    /// - WhsFacebook.Whs.Setup/Product.wxs
    /// </summary>
    public static class WhsFacebookVersion
    {
        public static readonly Guid ProductId = new Guid("a5dc1c1d-e9fa-4cec-894c-3b21559ec000");
        public const string Version = "0.0.1.9";
        public const string VersionString = "CTP1 r9";
        public const int VersionId = 17;

        public static void LogVersion()
        {
            var logger = log4net.LogManager.GetLogger(typeof(WhsFacebookVersion));

            logger.InfoFormat(
                "Windows Home Server on Facebook - {0} (#{1})",
                VersionString,
                VersionId
                );
        }
    }
}
